<template>
  <div class="wft-w-h-100">
      <el-input
        :size="'small'"
        v-model="data.data"
        :ref="attrs.ref"
        :disabled="attrs.disabled"
        :clearable="attrs.clearable"
        :placeholder="attrs.placeholder"
        :show-password="attrs.password"
        :show-word-limit="attrs.showWordLimit"
      />
  </div>
</template>
<script>
import useRequestMixin from '../../../mixins/useRequest'
import useAttrsMixin from '../../../mixins/useAttrs'
export default {
  name: 'formInput',
  mixins: [useRequestMixin, useAttrsMixin],
  props: {
    curComp: {
      type: Object,
      required: true
    },
    data: {
      type: Object,
      default: () => ({})
    }
  }
}
</script>
<style scoped>
.wft-w-h-100 {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
</style>
